
    
    <aside>
        <header>
            <?php echo __('myDe.sk helps you')?>...
        </header>
        <div class="aside_white_box" style="height: 308px; background: #fff url('/public/application/images/create_account_screen.png') left bottom no-repeat">
            <ul class="text_list">
                <li><?php echo __('Establish your professional profile online')?></li>
                <li><?php echo __('Showcase your work')?></li>
                <li><?php echo __('Find experts, ideas and opportunities')?></li>
            </ul>            
        </div>
    </aside>
    <section style="overflow:hidden; <?php echo $part == 1 ? 'height: 376px;' : 'height:auto' ?>">
         <div <?php if ($part == 2) echo 'style="margin-top: -376px"' ?>>
            <header>
                <?php echo __('register account') ?>
            </header>
<?php echo Form::open('account/create_account/'.$token, array('id' => 'register_account_form'))?>
            <ul class="list">
                 <li>
                    <div class="list_white_container">
                        <?php echo Form::label('email',__('E-mail').':') ?>
                        <div style="padding-top: 14px; height: 32px; font-size: 12px;font-weight: bold"><?php echo $email ?></div>
                        <div style="clear: both"></div>
                    </div>
                </li>
                <li>
                    <div class="list_white_container">
                        <?php echo Form::label('name',__('Name').'*:') ?>
                        <?php echo Form::input('name', null, array('class' => 'standard_text_form',
                                                                   'id'    => 'name',
                                                                   'title' => __('Enter your name or names'))) ?>
                        <div style="clear: both"></div>
                    </div>
                </li>    
                <li>
                    <div class="list_white_container">
                        <?php echo Form::label('surname',__('Surname').'*:') ?>
                        <?php echo Form::input('surname', null, array('class' => 'standard_text_form',
                                                                      'id'    => 'surname',
                                                                      'title' => __('Enter your surname'))) ?>
                        <div style="clear: both"></div>
                    </div>
                </li>                    
                <li>
                    <div class="list_white_container">
                        <?php echo Form::label('username',__('Username').'*:') ?>
                        <?php echo Form::input('username', null, array('class' => 'standard_text_form',
                                                                       'id'    => 'username',
                                                                       'title' => __('Enter username'))) ?>
                        <div style="clear: both"></div>
                    </div>
                </li>    
                <li>
                    <div class="list_white_container">
                        <?php echo Form::label('password',__('Password').'*:') ?>
                        <?php echo Form::password('password', null, array('class' => 'standard_text_form',
                                                                          'id'    => 'password',
                                                                          'title' => __('Enter password'))) ?>
                        <div style="clear: both"></div>
                    </div>
                </li>
               
                <li>
                    <div class="list_white_container">
                        <?php echo Form::label('','') ?>
                        <?php echo Form::submit('save', __('Join to myDe.sk'), array('class' => 'button_blue')) ?>
                        <div style="clear: both"></div>
                    </div>
                </li>
                <li>
                    <div class="list_white_container"  style="padding-top: 14px; height: 32px; font-size: 12px;text-align: center">
                        <?php echo __('By clicking "Join to myDe.sk", you are indicating that you have read, understood, and agree to myde.sk User Agreement and Privacy Policy')?>
                    </div>
                </li>
                
        </ul>
        <?php echo Form::close() ?>
        <?php echo Form::open('account/create_account/'.$token, array('id' => 'register_account_form_2'))?>
        <header>
            <?php echo __('create profile') ?>
        </header>
        <ul class="list">
            <li>
                <div class="list_white_container">
                    <?php echo Form::label('country',__('Country').'*:') ?>
                    <?php echo Form::select('country', $countries , null, array('id'    => 'country',
                                                                                'class' => 'standard_select_form')) ?>
                    <div style="clear: both"></div>
                </div>
            </li>
            <li>
                <div class="list_white_container">
                    <?php echo Form::label('address',__('Locality').'*:') ?>
                    <?php echo Form::input('address', null, array('class' => 'standard_text_form','id'=>'address','title'=>'Enter your address, try to use auto sugestion')) ?>
                    <div style="clear: both"></div>
                </div>
            </li>
            <li>
                <div class="list_white_container">
                    <?php echo Form::label('birth_date',__('Date of birth').'*:') ?>
                    <?php echo Form::input('birth_date', null, array('class'    => ' datepicker_form standard_text_form',
                                                                     'id'       => 'birth_date',
                                                                     'readonly' => 'readonly')) ?>
                    <div style="clear: both"></div>
                </div>
            </li>
            <li>
                <div class="list_white_container">
                    <?php echo Form::label('field',__('Field').'*:') ?>
                    <?php echo Form::select('field[]', $fields, null, array('id'       => 'field',
                                                                             'multiple' => 'multiple',
                                                                             'title'    => __('Choose field'))) ?>
                    <div style="clear: both"></div>
                </div>
            </li>
        </ul>
        <header><?php echo __('experience and education') ?></header>        
        <ul class="list">
            <li>
                <div class="list_white_container">
                    <?php echo Form::label('currently',__('I am currently').':') ?>
                    <?php echo Form::select('currently', array(0 =>  __('employed / a business owner'), 1 =>  __('a student'), 2 => __('doing something else')), false, array('class' => 'standard_select_form',
                                                                               'id'    => 'currently',
                                                                               'title' => 'Enter your employer company')) ?>
                    <div style="clear: both"></div>
                </div>
            </li>
        </ul>
        <ul class="list" id="experience_form">
             <li>
                <div class="list_white_container">
                    <?php echo Form::label('employer',__('Employer').'*:') ?>
                    <?php echo Form::input('employer', null, array('class' => 'standard_text_form','id'=>'employer','title'=>'Enter your employer company')) ?>
                    <div style="clear: both"></div>
                </div>
            </li>
            <li>
                    <div class="list_white_container">
                        <?php echo Form::label('position',__('Position').'*:') ?>
                        <?php echo Form::input('position', null, array('class' => 'standard_text_form','id'=>'position','title'=>'Enter your position in company')) ?>
                        <div style="clear: both"></div>
                    </div>
            </li>
            <li>
                    <div class="list_white_container">
                        <?php echo Form::label('',__('Start date').'*:') ?>
                        <?php echo Form::select('exp_start_date_month', Date::months(Date::MONTHS_LONG), false, array('class' => 'standard_select_form')) ?>
                        <?php echo Form::select('exp_start_date_year',  array_combine(array_reverse(Date::years(1900,date('Y'))),array_reverse(Date::years(1900,date('Y')))), false, array('class' => 'standard_select_form')) ?>
                        <div style="clear: both"></div>
                    </div>
            </li>
        </ul>
        <ul class="list" id="education_form" style="display:none" >
            <li>
                    <div class="list_white_container">
                        <?php echo Form::label('degree',__('Degree').'*:') ?>
                        <?php echo Form::input('degree', null, array('class'=>'standard_text_form','id'=>'degree')) ?>
                        <div style="clear: both"></div>
                    </div>
            </li>
            <li>
                    <div class="list_white_container">
                        <?php echo Form::label('school',__('School name').'*:') ?>
                        <?php echo Form::input('school', null, array('class' => 'standard_text_form','id'=>'school','title'=>'Enter your address, try to use auto sugestion')) ?>
                        <div style="clear: both"></div>
                    </div>
            </li>
            <li>
                    <div class="list_white_container">
                        <?php echo Form::label('faculty',__('Faculty').'*:') ?>
                        <?php echo Form::input('faculty', null, array('class' => 'standard_text_form','id'=>'faculty','title'=>'Enter your address, try to use auto sugestion')) ?>
                        <div style="clear: both"></div>
                    </div>
            </li>
            <li>
                    <div class="list_white_container">
                        <?php echo Form::label('',__('Start date').'*:') ?>
                        <?php echo Form::select('edu_start_date_month', Date::months(Date::MONTHS_LONG), false, array('class' => 'standard_select_form')) ?>
                        <?php echo Form::select('edu_start_date_year',  array_combine(array_reverse(Date::years(1900,date('Y'))),array_reverse(Date::years(1900,date('Y')))), false, array('class' => 'standard_select_form')) ?>
                        <div style="clear: both"></div>
                    </div>
            </li>
        </ul>
        <ul class="list" id="else_form" style="display:none">
            <li>
                <div class="list_white_container">
                    <?php echo Form::label('description',__('My description').'*:') ?>
                    <?php echo Form::input('description', null, array('class' => 'standard_text_form','id'=>'description','title'=>'Enter description who you realy are')) ?>
                    <div style="clear: both"></div>
                </div>
            </li>
        </ul>
        <ul class="list">
            <li>
                    <div class="list_white_container">
                        <?php echo Form::label('','') ?>
                        <?php echo Form::submit('save', __('That\'s all. Create profile'), array('class' => 'button_blue')) ?>
                        <div style="clear: both"></div>
                    </div>
            </li>
        </ul>
<?php echo Form::close() ?>
        
            </div>
        </section>
<script type="text/javascript">
    
   head.ready(function() {
       site.init('create-account');
   });
        
</script>